﻿

using System;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace WCFModel.MessageContract
{
    /// <summary>
    /// 教师
    /// </summary>
    [MessageContract]
    public class Teacher : SecEntity
    {
        /// <summary>
        /// 教师ID
        /// </summary>
        [MessageBodyMember]
        public Guid TeacherId { get; set; }

        /// <summary>
        /// 教师姓名
        /// </summary>
        [MessageBodyMember]
        public string Name { get; set; }

        /// <summary>
        /// 教师年龄
        /// </summary>
        [MessageBodyMember]
        public Int32 Age { get; set; }
    }
}
